<%-- 
    Document   : login
    Created on : 29 janv. 2012, 22:06:21
    Author     : bello
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Doodle Inscription</title>
        <link href="./css/login.css" rel="stylesheet" type="text/css"/>
        <link type="text/css" href="./js/plugins/jquery/css/jquery-ui-1.8.17.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="./js/plugins/jquery/js/jquery-1.7.1.min.js"></script>  
        <script type="text/javascript" src="./js/plugins/jquery/js/jquery-ui-1.8.17.custom.min.js"></script>  
    </head>
    <body>
        <script>
            $(function() {
                    $( "input:submit, a, button", "#signUpSubmit" ).button();
                    $( "a", "#signUpSubmit" ).click(function() { return false; });
            });
	</script>
        <div id="dialog_signup">
            <h1>Inscription</h1>
            <form action="User/add" method="POST" name="signUpForm">
                <div class="signInDiv">
                    <label for="name">Nom :</label>
                    <input id="name" type="text" size="18" name="nom"/>
                </div>
                <div class="signInDiv">
                    <label for="firstname">Prénom :</label>
                    <input id="firstname" type="text" size="18" name="prenom"/>
                </div>
                <div class="signInDiv">
                    <label for="role">Statut :</label>
                    <select id="role" name="role">
                        <option value="user">Etudiant</option>
                        <option value="admin">Enseignant</option>
                    </select>
                </div>
                <div class="signInDiv">
                    <label for="pass">Mot de passe :</label>
                    <input id="pass" type="password" size="18" name="j_password" />
                </div>
                <div id="signUpSubmit">
                    <input type="submit" value="S'inscrire" />
                </div>
                <div class="signInDiv">
                    <a id="signUpLink" href="./login.jsp">Déjà inscrit? Se connecter</a>
                </div>
                <div class="clean"></div>
            </form>
        </div>
    </body>
</html>
